package com.yuju.rpt.dao.mapper;

import com.yuju.persist.base.mapper.BaseMapper;
import com.yuju.rpt.dao.entity.CheckinRoomType;

import java.util.List;
import java.util.Map;

public interface CheckinRoomTypeMapper extends BaseMapper<CheckinRoomType, String> {
	
	List<CheckinRoomType> getCheckinStatByRoomType(Map<Object, Object> map);
	
	CheckinRoomType getCheckinStatByRoomTypeSum(Map<Object, Object> map);
	
    int deleteByPrimaryKey(String id);

    int selectCountByMap(Map<Object, Object> map);

    List<CheckinRoomType> selectListByMap(Map<Object, Object> map);

    int insert(CheckinRoomType record);

    int insertSelective(CheckinRoomType record);

    CheckinRoomType selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(CheckinRoomType record);

    int updateByPrimaryKey(CheckinRoomType record);
}